//
//  KBMainPageModel.m
//  EducationAdminClient
//
//  Created by kwsdzjx on 2017/3/20.
//  Copyright © 2017年 可为. All rights reserved.
//

#import "KBMainPageModel.h"
#import "ThingsModel.h"

@implementation KBMainPageModel
-(instancetype)init{
    self = [super init];
    if (self) {
        _show = YES;
        _dataArr = [[NSMutableArray alloc]init];
    }
    
    return self;
}

-(void)setDataWithOutThingArr:(NSArray *)dataWithOutThingArr{
    _dataWithOutThingArr = dataWithOutThingArr;
    
    for (NSDictionary *withOutThingsDic in _dataWithOutThingArr) {
        ThingsModel *model = [[ThingsModel alloc]init];
        model = [model initWithDictionary:withOutThingsDic error:nil];
        [_dataArr addObject:model];
    }
}
//-(KBMainPageModel *)initwithDictionary:(NSDictionary *)kbDic{
//    _DIC_ID = [NSString stringWithFormat:@"%@", [kbDic valueForKey:@"DIC_ID"]];
//    ThingsModel *model = [[ThingsModel alloc]init];
//    model = [model initWithDictionary:dic error:nil];
//
//    return self;
//}
@end
